/**
 * @(#)CallBody.java, Sep 13, 2012. 
 * 
 * Copyright 2012 Yodao, Inc. All rights reserved.
 * YODAO PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package com.buaaer.mina;

import java.io.Serializable;

/**
 *
 * @author wangheng
 *
 */
public class CallBody implements Serializable {
    
    private static final long serialVersionUID = 8642722453796647422L;

    private String methodName;
    
    private Class<?>[] paramTypes;
    
    private Object[] paramValues;
    
    public CallBody(String methodName,
            Class<?>[] paramTypes, Object[] paramValues) {
        this.methodName = methodName;
        this.paramTypes = paramTypes;
        this.paramValues = paramValues;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Class<?>[] getParamTypes() {
        return paramTypes;
    }

    public void setParamTypes(Class<?>[] paramTypes) {
        this.paramTypes = paramTypes;
    }

    public Object[] getParamValues() {
        return paramValues;
    }

    public void setParamValues(Object[] paramValues) {
        this.paramValues = paramValues;
    }

}
